/*
 * @Description: element-ui-css重写
 * @Autor: HuiSir<273250950@qq.com>
 * @Date: 2022-01-18 17:27:44
 * @LastEditTime: 2025-06-04 19:53:28
 */

 @use "./mixin.scss" as *;

.el-dialog {
  padding: 0;
  border-radius: 3px;
  .el-dialog__header {
    margin: 0;
    border-radius: 3px 3px 0 0;
    padding: 12px 20px;
    line-height: 1;
    background: var(--color-sidebar-bg);
    .el-dialog__title {
      color: var(--color-sidebar-font);
      font-size: var(--el-font-size-medium);
    }
  }
  .el-dialog__headerbtn {
    top: 0;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    .el-dialog__close {
      color: var(--color-sidebar-font);
    }
  }
  .el-dialog__body {
    padding: var(--el-dialog-padding-primary);
    // max-height: 70vh;
    overflow-y: auto;
    @include scrollBar;
  }
  .el-dialog__footer {
    background: #ecf0f1;
    padding: 10px 20px 14px;
    border-radius: 0 0 3px 3px;
  }
}

.el-popconfirm__main {
  margin-bottom: 10px;
}
.el-input__prefix,
.el-input__suffix,
.el-input__prefix-inner,
.el-input__suffix-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.el-input .el-input__icon {
  line-height: 1 !important;
  height: unset !important;
}
.el-input .el-input__icon.el-input__validateIcon {
  display: none;
}

.el-select-dropdown__item {
  & > i.el-icon {
    line-height: 39px;
  }
  &.selected > * {
    color: var(--el-color-primary);
  }
}

.el-button.is-plain {
  --el-button-border-color: var(--el-color-primary-light-8);
}

.el-card {
  --el-card-padding: 14px;
}
